<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html>
<html lang="cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 
<title>串口操作</title>
<link rel="stylesheet" href="css/style.css" type="text/css" />
<link rel="stylesheet" href="css/button.css" type="text/css" />
  <!--[if lt IE 8]>
	<script src ="js/IE8.js"></script>
<![endif]--> 
</head>
	<body>
<!-- 		<div style="margin-left: 12%; margin-right:12%; width:1024px;"> -->
				<ul id="nav" style="margin-left: 12%; margin-right:12%;" >
					<li ><a href="#" >系统控制</a></li>
					<li><a href="#">工作状态</a></li>
					<li><a href="#">工作参数</a></li>
					<li><a href="#">报警状态</a></li>
					<li><a href="#">参数设置</a></li>
					<li><a href="#">系统配置</a></li>
				</ul>
<!-- 			</div> -->
		<br />
		<div style="margin-left:12%; margin-right:12%; width:780px; height:600px;float: none;background: #292929;border:1px solid black;" >
			<br />
				<input id="commswitch" class="button gray" type="button" name="open"  value="打开串口"/> 
				<div id="commstatus"  hidden="hidden">1</div>
				<div id="commstatusdesc" >已关闭</div>
			<br />
				<input id="command" type="text" name="command" value="68 20 20 68 02 00 7C 32 01 00 00 00 00 00 0E 00 05 05 01 12 0A 10  01 00 01 00 00 83 00 00 04 00 03 00 01 00 D2 16"/>
		</div>
	<script src= "js/jquery-1.10.2.js" type="text/javascript"></script> 
	<script src="js/jquery.effects.core.js" type="text/javascript"></script>
	<script type="text/javascript" src="js/scripts.js"></script>
	<script type="text/javascript" src="js/commoptions.js"></script>
	</body>
</html> 